<!DOCTYPE HTML>
<html lang="en-US">
<head>
	<meta charset="UTF-8">
	<base target="content"/>
	<title>商品属性管理</title>
	<hdjs/>
</head>
<body>
	<div class="menu_list">
		<ul>
			<li><a href="{|U:'index'}" class="action">商品列表</a></li>
			<li><a href="{|U:'showCategory'}">添加商品</a></li>
			<!-- <li><a href="{|U:'updateCache'}">更新栏目缓存</a></li> -->
		</ul>
	</div>
	<div class="title-header">商品列表</div>
	<form action="" method="post">
		<table class="table1 hd-form">
			<thead>
				<tr>
					<td class="w100">GID</td>
					<td class="w400">商品名称</td>
					<td>所属栏目</td>
					<td class="w100">图片</td>
					<td class="w100">操作</td>
				</tr>
			</thead>
			<list from="$data" name="d" >
				<tr>
					<td>{$d.gid}</td>
					<td>{$d.gname}</td>
					<td>{$d.cname}</td>
					<td><img src="__ROOT__/{$d.index_pic}" alt="" class="w80"></td>
					<td>
						<a href="{|U:'save',array('gid'=>$d['gid'])}">修改</a> | 
						<a href="{|U:'del',array('gid'=>$d['gid'])}">删除</a> |
					</td>
				</tr>
			</list>

		</table>
		<div style="width:100%;text-align:center;margin-top:10px;">{$page}</div>	
	</form>
</body>
</html>